package com.qst.entity;

public class Menu {
    private int menuID;
    private int menuPID;
    private String menuName;
    private String menuURL;

    public Menu() {
    }

    public Menu(int menuPID, String menuName, String menuURL) {
        this.menuPID = menuPID;
        this.menuName = menuName;
        this.menuURL = menuURL;
    }

    public Menu(int menuID, int menuPID, String menuName, String menuURL) {
        this.menuID = menuID;
        this.menuPID = menuPID;
        this.menuName = menuName;
        this.menuURL = menuURL;
    }

    public int getMenuID() {
        return menuID;
    }

    public void setMenuID(int menuID) {
        this.menuID = menuID;
    }

    public int getMenuPID() {
        return menuPID;
    }

    public void setMenuPID(int menuPID) {
        this.menuPID = menuPID;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuURL() {
        return menuURL;
    }

    public void setMenuURL(String menuURL) {
        this.menuURL = menuURL;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "menuID=" + menuID +
                ", menuPID=" + menuPID +
                ", menuName='" + menuName + '\'' +
                ", menuURL='" + menuURL + '\'' +
                '}';
    }
}
